//
//  CLWebVeiwController.h
//  chanlin
//
//  Created by Ryan on 15-1-5.
//  Copyright (c) 2015年 chanlin. All rights reserved.
//

#import "CLBaseViewController.h"
#import <JavaScriptCore/JavaScriptCore.h>


@protocol IFDocJSExport <JSExport>


//JSExportAs(pop, -(void)pop:(NSString *)a);

- (void)pop;

@end

@class CLWebVeiwController;
@interface IFDocAction : NSObject<IFDocJSExport>

@property (nonatomic,weak) CLWebVeiwController *doc;

@end

@interface CLWebVeiwController : CLBaseViewController

@property (nonatomic,unsafe_unretained)BOOL isFile;

@property (nonatomic,strong)JSContext *jsContext;

@end
